/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.click.app.webapp.reportObjects;

import java.util.Comparator;

/**
 *
 * @author ronald
 */
public class RowEntryComparatorAsc implements Comparator {

public int compare(Object o1, Object o2) {
        RowEntry rowEntry1 = (RowEntry)o1;
        RowEntry rowEntry2 = (RowEntry)o2;
        return rowEntry1.getDate().
                compareTo(rowEntry2.getDate());

    }
}
